package com.ruoyi.activiti.mapper;

import java.util.List;
import com.ruoyi.activiti.domain.DanWorkflowLeave;

/**
 * 请假Mapper接口
 * 
 * @author cjie
 * @date 2022-12-20
 */
public interface DanWorkflowLeaveMapper {
    /**
     * 查询请假
     * 
     * @param id 请假ID
     * @return 请假
     */
     DanWorkflowLeave selectDanWorkflowLeaveById(String id);

    /**
     * 查询请假列表
     * 
     * @param danWorkflowLeave 请假
     * @return 请假集合
     */
     List<DanWorkflowLeave> selectDanWorkflowLeaveList(DanWorkflowLeave danWorkflowLeave);

    /**
     * 新增请假
     * 
     * @param danWorkflowLeave 请假
     * @return 结果
     */
     int insertDanWorkflowLeave(DanWorkflowLeave danWorkflowLeave);

    /**
     * 修改请假
     * 
     * @param danWorkflowLeave 请假
     * @return 结果
     */
     int updateDanWorkflowLeave(DanWorkflowLeave danWorkflowLeave);

    /**
     * 删除请假
     * 
     * @param id 请假ID
     * @return 结果
     */
     int deleteDanWorkflowLeaveById(String id);

    /**
     * 批量删除请假
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
     int deleteDanWorkflowLeaveByIds(String[] ids);
}
